﻿#pragma once

#include "ModuleSplitterWnd.h"
// COperatorLibraryDialog 对话框

class CModuleLibraryDialog : public CDialogEx
{
	DECLARE_DYNAMIC(CModuleLibraryDialog)

public:
	CModuleLibraryDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CModuleLibraryDialog();

protected:
	CMFCToolBar			m_wndToolBar;

	CFrameWnd*			 m_pFrameWnd;
	CModuleSplitterWnd m_wndSplitter;

protected:
	void	AdjustLayout();
	void	PopulateModuleTree();
	void	PopulateOperatorList();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum {
		IDD = IDD_DIALOG_MODULE_LIBRARY
};
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnModuleAdd();
	afx_msg void OnModuleRemove();
	afx_msg void OnOperatorAdd();
	afx_msg void OnOperatorRemove();
};
